/**
 * Created by V5470-I5 on 2016/4/8.
 */
public class PrimeNumber {
    public static void main(String[] args){
        int[]n=new int[100];
        for(int i=0;i<100;i++){
            n[i]=0;
        }
        for(int i=2;i<100;i++){
            if(n[i]==0){
                System.out.print(i+",");
                for (int j=i*i;j<100;j+=i){
                    n[j]=1;
                }
            }
        }
    }
}
